package com.xhej.rowreat.model;


import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component("dimensionList")
@ConfigurationProperties(prefix="dim")
@PropertySource("classpath:/dimension.properties")
public class Dimension {
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	//维度
	private String dimension;
	//计算公式
	private String formula;
	
	//机构/人
	private String obj;

	public String getDimension() {
		return dimension;
	}

	public void setDimension(String dimension) {
		this.dimension = dimension;
	}

	public String getFormula() {
		return formula;
	}

	public void setFormula(String formula) {
		this.formula = formula;
	}

	public String getObj() {
		return obj;
	}

	public void setObj(String obj) {
		this.obj = obj;
	}
   
	

}
